package com.dao;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.stereotype.Repository;

import com.dao.base.BaseRepository;
import com.dao.entity.RCustCommisShops;


/**
 * @author geliyang
 *
 */
@Repository
public interface IRCustCommisShopsDao extends BaseRepository<RCustCommisShops, Long>{
	
	public Page<RCustCommisShops> findByCommisId(Long commisId, Pageable pageable);
	
	public Page<RCustCommisShops> findByCustomerId(Long customerId, Pageable pageable);
	
	public RCustCommisShops findByCustomerIdAndCommisId(Long customerId, Long commisId);
}
